package com.sea.physical.mapper;

import com.sea.physical.entity.Transport;

import java.util.List;

public interface TransportMapper {

    /**
     * 多条件查询
     * @param transport
     * @return
     */
    List<Transport> findByCnd(Transport transport);

    /**
     * 删除
     * @param id
     */
    int delete(Integer id);

    /**
     * @param transport
     */
    int insert(Transport transport);

    Transport findByName(String transportName);
}
